package com.mi.simplefactory;

public class Test {

	public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException {
		
		Car car = CarFactory.newCar();
		Family family = new Family(car);
		family.goOut();
//		
//		Calendar calendar = Calendar.getInstance();
		
		
//		
//		Student student = Student.getInstance(); 
//		student.introduce();
	}
}
